/*
 * @Date: 2020-08-25 16:56:58
 * @LastEditors: xujianxing
 * @LastEditTime: 2020-08-25 16:57:41
 * @FilePath: \nili\src\common\anotation\roles.ano.ts
 */
import { SetMetadata } from '@nestjs/common';

// 定义角色注解
export const Roles = (...roles: string[]) => SetMetadata('roles', roles);
